package rewrite;

public class Animal {
    String name;

    public void eat() {
        System.out.println("吃");
    }

    public void show(String name) {
        this.name=name;
        System.out.println(name);
    }

}
